package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 项目线路表
 * </p>
 * @author zhucx
 * @since 2021-07-29
 */
@TableName("basic_line")
@Data
public class BasicLine implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 线路名称
     */
    @TableField("line_name")
    private String lineName;

    /**
     * 项目部id
     */
    @TableField("operate_id")
    private Integer operateId;

    /**
     * 项目部名称
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * 创建时间
     */
    @TableField("create_times")
    private String createTimes;

    /**
     * 创建人员
     */
    @TableField("create_name")
    private String createName;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    /**
     * 运网折扣
     */
    @TableField("yunwang_discount")
    private BigDecimal yunwangDiscount;

    @Override
    public String toString() {
        return "BasicLine{" +
        "id=" + id +
        ", status=" + status +
        ", lineName=" + lineName +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", note=" + note +
        ", createTimes=" + createTimes +
        ", createName=" + createName +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        ", yunwangDiscount=" + yunwangDiscount +
        "}";
    }
}
